<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <title>智能导诊-部位</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link href="/lobsteruiframe/layuiadmin/layui/css/layui.css" rel="stylesheet" />
    <link href="/lobsteruiframe/layuiadmin/style/admin.css" rel="stylesheet" />
    <script src="/lobsteruiframe/layuiadmin/layui/layui.js"></script>
    <script src="/jslib/lobster.js"></script>
    <script src="/jslib/jquery-3.4.1.min.js"></script>

    <script src="js/positon.js"></script>
</head>

<body>
    <div id="Left">

    </div>

    <div id="MainRight" class="layui-layout">
        <table id="List" lay-filter="List"></table>
    </div>

</body>

</html>
<style>
    body,
    html {
        height: 100%;
        box-sizing: border-box;
    }

    iframe {
        border: 0;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }

    #Left {
        width: 240px;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        background: #fff;
        border-right: 1px solid #ccc;
        box-shadow: #ccc 0 2px 4px;
        overflow: hidden;
        overflow-y: auto;
    }

    #MainRight {
        margin-left: 245px;
        height: 100%;
        overflow: hidden;
        background-color: #fff;
    }

    .nodeover .layui-tree-iconClick,
    .nodeover .layui-tree-txt {
        color: #009688;
        font-weight: bold;
    }

    .layui-icon-fd {
        width: 20px;
        height: 20px;
        display: inline-block;
        vertical-align: middle;
        background: url(/images/fort.png) no-repeat;
        background-size: 100% 100%;
    }
</style>

<script type="text/html" id="statusTemp">
    {{#if(d.DelFlag ==1) { }}
    <span style="color:orangered">已停用</span>
    {{# } else {}}
    <span style="color:cadetblue"> 已启用</span>
    {{# }}}
</script>
<script type="text/html" id="operation">
    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit"><i class="layui-icon layui-icon-edit"></i>编辑</a>
    {{# if(d.DelFlag==0){ }}
    <a class="layui-btn layui-btn-danger layui-btn-xs"
        lay-event="enstatus"><i class="layui-icon layui-extend-stop"></i>停用</a>
    {{# } else { }}
    <a class="layui-btn layui-btn-normal layui-btn-xs"
        lay-event="enstatus"><i class="layui-icon layui-icon-ok"></i>启用</a>
    {{# } }}
</script>
<script type="text/html" id="baradd">
    <a class="layui-btn layui-btn-sm" lay-event="add" id="add"><i class="layui-icon layui-icon-add-1"></i>新增</a>
</script>

<script type="text/html" id="openPosition">
    <div class="layui-card-header layui-form" style="padding-top:10px;">
        <div class="layui-form-item">
            <label class="layui-form-label"><i style="color:red;">*&ensp; </i>编码</label>
            <div class="layui-input-block">
                <input type="text" required class="layui-input" id="PositionCode" name="PositionCode" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><i style="color:red;">*&ensp; </i>部位名称</label>
            <div class="layui-input-block">
                <input type="text" required class="layui-input" id="PositionName" name="PositionName" />
            </div>
        </div>

    </div>
</script>